Memoing Evaluation by Source-to-Source Transformation
نویسنده
چکیده
This paper presents a novel implementation of memoing evaluation SSW94] by source-to-source transformation. The transformation proceeds in two steps: The rst step consists of magic sets rewriting BR91], a standard transformation in deductive databases, application to Prolog has not been considered yet. The second transformation rewrites bottom-up rules to Prolog clauses. This bottom-up to top-down transformation has useful applications besides memoing. It can be derived by partially evaluating a tuple-oriented semi-naive meta-interpreter for bottom-up rules, written in Prolog. This paper also presents a variant of supplementary magic sets tailored to the memoing application.
منابع مشابه
Aspect Oriented UML to ECORE Model Transformation
With the emerging concept of model transformation, information can be extracted from one or more source models to produce the target models. The conversion of these models can be done automatically with specific transformation languages. This conversion requires mapping between both models with the help of dynamic hash tables. Hash tables store reference links between the elements of the source...
متن کاملOn Delphi Lemmas and other Memoing Techniques for Deterministic Logic Programs
Three orthogonal memoing techniques for deterministic logic programs are introduced and evaluated on the basis of their empirical performance. They share the same basic idea: eecient memoing is achieved by losing information gracefully, i.e., memoing beneets from a form of abstraction. Abstract answers are most general computed answers of deterministic logic programs obtained through repeated a...
متن کاملTwo-dimensional advection-dispersion equation with depth- dependent variable source concentration
The present work solves two-dimensional Advection-Dispersion Equation (ADE) in a semi-infinite domain. A variable source concentration is regarded as the monotonic decreasing function at the source boundary (x=0). Depth-dependent variables are considered to incorporate real life situations in this modeling study, with zero flux condition assumed to occur at the exit boundary of the domain, i.e....
متن کاملTwo-dimensional advection-dispersion equation with depth- dependent variable source concentration
The present work solves two-dimensional Advection-Dispersion Equation (ADE) in a semi-infinite domain. A variable source concentration is regarded as the monotonic decreasing function at the source boundary (x=0). Depth-dependent variables are considered to incorporate real life situations in this modeling study, with zero flux condition assumed to occur at the exit boundary of the domain, i.e....
متن کاملInquisitive Analysis of the Point Source Effect on Propagation of SH Wave Through an Orthotropic Crustal Layer
The occurrence of SH wave propagation under the effect of a point source in an orthotropic substratum lying over a heterogeneous orthotropic half space is deliberated in the prospect of a devastating earthquake. The quadratic alteration is acknowledged for density and shear modulus which is hypothesized to be a function of depth. The method of Green's function and transformation technique contr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995